Optimal. Leaf size=82 \[ -\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\frac {5 c^2 \text {Chi}\left (\cosh ^{-1}(a x)\right )}{8 a}-\frac {15 c^2 \text {Chi}\left (3 \cosh ^{-1}(a x)\right )}{16 a}+\frac {5 c^2 \text {Chi}\left (5 \cosh ^{-1}(a x)\right )}{16 a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5904, 5953,
5556, 3382} \begin {gather*} \frac {5 c^2 \text {Chi}\left (\cosh ^{-1}(a x)\right )}{8 a}-\frac {15 c^2 \text {Chi}\left (3 \cosh ^{-1}(a x)\right )}{16 a}+\frac {5 c^2 \text {Chi}\left (5 \cosh ^{-1}(a x)\right )}{16 a}-\frac {c^2 (a x-1)^{5/2} (a x+1)^{5/2}}{a \cosh ^{-1}(a x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3382
Rule 5556
Rule 5904
Rule 5953
Rubi steps
\begin {align*} \int \frac {\left (c-a^2 c x^2\right )^2}{\cosh ^{-1}(a x)^2} \, dx &=-\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\left (5 a c^2\right ) \int \frac {x (-1+a x)^{3/2} (1+a x)^{3/2}}{\cosh ^{-1}(a x)} \, dx\\ &=-\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\frac {\left (5 c^2\right ) \text {Subst}\left (\int \frac {\cosh (x) \sinh ^4(x)}{x} \, dx,x,\cosh ^{-1}(a x)\right )}{a}\\ &=-\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\frac {\left (5 c^2\right ) \text {Subst}\left (\int \left (\frac {\cosh (x)}{8 x}-\frac {3 \cosh (3 x)}{16 x}+\frac {\cosh (5 x)}{16 x}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{a}\\ &=-\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\frac {\left (5 c^2\right ) \text {Subst}\left (\int \frac {\cosh (5 x)}{x} \, dx,x,\cosh ^{-1}(a x)\right )}{16 a}+\frac {\left (5 c^2\right ) \text {Subst}\left (\int \frac {\cosh (x)}{x} \, dx,x,\cosh ^{-1}(a x)\right )}{8 a}-\frac {\left (15 c^2\right ) \text {Subst}\left (\int \frac {\cosh (3 x)}{x} \, dx,x,\cosh ^{-1}(a x)\right )}{16 a}\\ &=-\frac {c^2 (-1+a x)^{5/2} (1+a x)^{5/2}}{a \cosh ^{-1}(a x)}+\frac {5 c^2 \text {Chi}\left (\cosh ^{-1}(a x)\right )}{8 a}-\frac {15 c^2 \text {Chi}\left (3 \cosh ^{-1}(a x)\right )}{16 a}+\frac {5 c^2 \text {Chi}\left (5 \cosh ^{-1}(a x)\right )}{16 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(194\) vs. \(2(82)=164\).
time = 0.21, size = 194, normalized size = 2.37 \begin {gather*} -\frac {c^2 \left (16 \sqrt {\frac {-1+a x}{1+a x}}+16 a x \sqrt {\frac {-1+a x}{1+a x}}-32 a^2 x^2 \sqrt {\frac {-1+a x}{1+a x}}-32 a^3 x^3 \sqrt {\frac {-1+a x}{1+a x}}+16 a^4 x^4 \sqrt {\frac {-1+a x}{1+a x}}+16 a^5 x^5 \sqrt {\frac {-1+a x}{1+a x}}-10 \cosh ^{-1}(a x) \text {Chi}\left (\cosh ^{-1}(a x)\right )+15 \cosh ^{-1}(a x) \text {Chi}\left (3 \cosh ^{-1}(a x)\right )-5 \cosh ^{-1}(a x) \text {Chi}\left (5 \cosh ^{-1}(a x)\right )\right )}{16 a \cosh ^{-1}(a x)} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.48, size = 85, normalized size = 1.04
method | result | size |
derivativedivides | \(-\frac {c^{2} \left (10 \sqrt {a x -1}\, \sqrt {a x +1}+15 \hyperbolicCosineIntegral \left (3 \,\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-5 \hyperbolicCosineIntegral \left (5 \,\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-10 \hyperbolicCosineIntegral \left (\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-5 \sinh \left (3 \,\mathrm {arccosh}\left (a x \right )\right )+\sinh \left (5 \,\mathrm {arccosh}\left (a x \right )\right )\right )}{16 a \,\mathrm {arccosh}\left (a x \right )}\) | \(85\) |
default | \(-\frac {c^{2} \left (10 \sqrt {a x -1}\, \sqrt {a x +1}+15 \hyperbolicCosineIntegral \left (3 \,\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-5 \hyperbolicCosineIntegral \left (5 \,\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-10 \hyperbolicCosineIntegral \left (\mathrm {arccosh}\left (a x \right )\right ) \mathrm {arccosh}\left (a x \right )-5 \sinh \left (3 \,\mathrm {arccosh}\left (a x \right )\right )+\sinh \left (5 \,\mathrm {arccosh}\left (a x \right )\right )\right )}{16 a \,\mathrm {arccosh}\left (a x \right )}\) | \(85\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} c^{2} \left (\int \left (- \frac {2 a^{2} x^{2}}{\operatorname {acosh}^{2}{\left (a x \right )}}\right )\, dx + \int \frac {a^{4} x^{4}}{\operatorname {acosh}^{2}{\left (a x \right )}}\, dx + \int \frac {1}{\operatorname {acosh}^{2}{\left (a x \right )}}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c-a^2\,c\,x^2\right )}^2}{{\mathrm {acosh}\left (a\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________